Quick question:
Does DOMNode-> (http://www.php.net/manual/en/class.domnode.php#domnode.props.textcontent)textContent (http://www.php.net/manual/en/class.domnode.php#domnode.props.textcontent) return "everything" inside an HTML node (text and HTML tags)?
In other words, can we say that this property is essentially the equivalent of "innerHTML" in JavaScript?
Thanks.
DOMNode-> (http://www.php.net/manual/en/class.domnode.php#domnode.props.textcontent)textContent (http://www.php.net/manual/en/class.domnode.php#domnode.props.textcontent) appears to only return the text in that node and its child nodes (the text is all "lumped" together if the node has child nodes that contain text as well). It doesn't appear to see HTML tags. Too bad...:rolleyes: